package org.forum.chat.serverpoint.Message;

public class Message {
	
	//使用static以便外部直接引用而不需要创建对象
	public static final String LOGINMESSAGE = "login_message";
	
	public static final String CHATMESSAGE ="chat_message";
	
	public static final String LOGOUTMESSAGE = "logout_message";
	
	public static final String FINDCONTACTSMESSAGE = "find_contacts_message";
	
	private String type;
	
	Message(String type){
		this.type = type;
	}
	
	public String getType(){
		return this.type;
	}
}
